package thesis.filesharing.resources;

public class Constants {
	
	public static final String STUDENT_ID_PATTERN = "[\\d]{8}";
	public static final String LECTURER_ID_PATTERN = "GV[\\d]{4}";
	public static final String DEPARTMENTS_FILE_PATH = "WEB-INF/classes/thesis/filesharing/resources/departments.xml";
	public static final String COURSES_FILE_PATH = "WEB-INF/classes/thesis/filesharing/resources/courses.xml";
	public static final String SEMESTER_FILE_PATH = "WEB-INF/classes/thesis/filesharing/resources/semesters.xml";
	public static final String EXERCISETYPES_FILE_PATH = "WEB-INF/classes/thesis/filesharing/resources/exerciseTypes.xml";
	public static final String WORKBY_FILE_PATH = "WEB-INF/classes/thesis/filesharing/resources/workBy.xml";
	public static final String EMAIL_PATTERN = "^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$";
	public static final int PAGE_SIZE = 1;
	public static final int NUMBER_OF_PAGE_LINK = 10;
	public static final String SUBJECT_ID_PATTERN = "IT[\\d]{4}";
	public static final String SEARCH_INDEX_NAME = "file_sharing_index";
	public static final String[] VIETNAMESE_SIGN = {
		"aAeEoOuUiIdDyY", "áàạảãâấầậẩẫăắằặẳẵ", "ÁÀẠẢÃÂẤẦẬẨẪĂẮẰẶẲẴ", "éèẹẻẽêếềệểễ", "ÉÈẸẺẼÊẾỀỆỂỄ", "óòọỏõôốồộổỗơớờợởỡ", 
        "ÓÒỌỎÕÔỐỒỘỔỖƠỚỜỢỞỠ", "úùụủũưứừựửữ", "ÚÙỤỦŨƯỨỪỰỬỮ", "íìịỉĩ", "ÍÌỊỈĨ", "đ", "Đ", "ýỳỵỷỹ", "ÝỲỴỶỸ"
    };
	public static final String CLASS_ID_PATTERN = "[\\d]{5}";
}
